package Data::Conveyor::Storage::Null;

# $Id: Null.pm 13653 2007-10-22 09:11:20Z gr $

use strict;
use warnings;


our $VERSION = '0.02';


use base qw(
    Class::Scaffold::Delegate::Mixin
    Data::Storage::Null
);



sub generate_ticket_no {
    my $self = shift;
    $self->delegate->make_obj('test_ticket')->gen_temp_ticket_no;
}


sub keywords_store {
    my ($self, $ticket, $keyword_container) = @_;
    our %store;
    $store{ticket}{$ticket->ticket_no}{keyword_container} = $keyword_container;
}


sub keywords_read {
    my ($self, $ticket) = @_;
    our %store;
    my $container = $store{ticket}{$ticket->ticket_no}{keyword_container};
    $container->dirty(1);
    $ticket->keywords($container);
}


1;


__END__

{% USE p = PodGenerated %}

=head1 NAME

{% p.package %} - stage-based conveyor-belt-like ticket handling system

=head1 SYNOPSIS

    {% p.package %}->new;

=head1 DESCRIPTION

None yet. This is an early release; fully functional, but undocumented. The
next release will have more documentation.

=head1 METHODS

=over 4

{% p.write_methods %}

=back

{% p.write_inheritance %}

{% PROCESS standard_pod %}

=cut

